'use strict';

/** @type {import('sequelize-cli').Migration} */
module.exports = {
    async up(queryInterface, Sequelize) {
        await queryInterface.bulkInsert('Customers', [
            {
                name: "陈尚诗",
                code: "22000021000000000000074718",
                unitName: "中国铁路沈阳局集团有限公司吉林车务段",
                identityId: "220282180003012301",
                phoneNumber: "18312830232",
                createdAt: new Date(),
                updatedAt: new Date()
            }
        ], {});
    },

    async down(queryInterface, Sequelize) {
        /**
         * Add commands to revert seed here.
         *
         * Example:
         * await queryInterface.bulkDelete('People', null, {});
         */
        await queryInterface.bulkDelete('Customers', null, {});
    }
};
